import { RouteRecordRaw } from 'vue-router';

export default {
    path: '/user',
    name: 'user',
    redirect: '/user',
    meta: {
        title: '用户系统', 
        icon: 'User',
        sort: 5
    },
    children: [
        {
            path: '/user/userManage',
            name: 'userManage',
            component: () => import('@/components/user/UserManage.vue'),
            meta: {
                title: '用户管理'
            }
        },
        {
            path: '/user/roleManage',
            name: 'roleManage',
            component: () => import('@/components/user/RoleManage.vue'),
            meta: {
                title: '角色管理'
            }
        }
    ]
} as RouteRecordRaw;